<link href="${rc.getContextPath()}/manage/css/dwzCustomCss/dwz.custom.css?v=${ver}" rel="stylesheet" type="text/css">
<#include "/common/pagerForm.html">

<form rel="pagerForm" method="post" action="${rc.getContextPath()}/manage/equipmentStatus/statusLookup" onsubmit="return dwzSearch(this, 'dialog');">
    <div class="pageHeader">
        <div class="searchBar equipmentStatus" >
            <ul class="searchContent">
                <li ><label id="equipmentStatusCode"><@label key="equipmentStatusCode.C,colon">设备状态编号：</@label></label> <input type="text" class="textInput" name="statusCode" value="${condition.statusCode!''}" /></li>
                <li ><label id="statusText"><@label key="equipmentStatusText.C,colon">设备状态描述：</@label></label> <input type="text" class="textInput" name="statusText" value="${condition.statusText!''}" /></li>
                <li class="query">
                        <div class="buttonActive">
                            <div class="buttonContent">
                                <button type="submit"><@label key="query.B">查询</@label></button>
                            </div>
                        </div>
                </li>
            </ul>
        </div>
        <div >
    <table class="table border" targetType="dialog" width="100%" layoutH="105" style="overflow:scroll;">
        <thead>
            <tr>
                <th width="100" orderField="statusCode"<#if (page.orderField?? && page.orderField == 'statusCode')>class="${page.orderDirection!''}"</#if>><@label key="equipmentStatusCode.C">设备状态编号</@label></th>
                <th width="100" orderField="statusText"<#if (page.orderField?? && page.orderField == 'statusText')>class="${page.orderDirection!''}"</#if>><@label key="equipmentStatusText.C">设备状态描述</@label></th>
                <th width="100"><@label key="selected_first.C">请选择</@label></th>
            </tr>
        </thead>
        <tbody>
            <#if page??><#if (page.data?size>0)> <#list page.data as equipmentStatus>
            <tr target="equipmentStatus_code" rel="${equipmentStatus.statusCode!''}">
                <td>${equipmentStatus.statusCode!''}</td>
                <td>${equipmentStatus.statusText!''}</td>
                <td><a class="btnSelect bringBack" value="statusCode:'${equipmentStatus.statusCode!''}', statusText:'<@json_escape>${equipmentStatus.statusText!''}</@json_escape>'" >选择</a></td>        
            </tr>
            </#list> <#else>
                <tr >
                <td colspan="3"  class="noData">======<@label key="noListData.C">列表无数据</@label>=====
                </td>
            </tr>
            </#if> <#else>
            <tr >
                <td colspan="3"  class="noData">======<@label key="noListData.C">列表无数据</@label>=====
                </td>
            </tr>
            </#if>
        </tbody>
    </table>
    <#include "/common/dialogPanelBar.html">
    
</div>
    </div>
</form>
